package com.ruoyi.procurementmanagement.mapper;

import java.util.List;
import com.ruoyi.procurementmanagement.domain.ErpWarehouseEntry;

/**
 * 入库单Mapper接口
 * 
 * @author ruoyi
 * @date 2025-03-14
 */
public interface ErpWarehouseEntryMapper 
{
    /**
     * 查询入库单
     * 
     * @param id 入库单主键
     * @return 入库单
     */
    public ErpWarehouseEntry selectErpWarehouseEntryById(Long id);

    /**
     * 查询入库单列表
     * 
     * @param erpWarehouseEntry 入库单
     * @return 入库单集合
     */
    public List<ErpWarehouseEntry> selectErpWarehouseEntryList(ErpWarehouseEntry erpWarehouseEntry);

    /**
     * 新增入库单
     * 
     * @param erpWarehouseEntry 入库单
     * @return 结果
     */
    public int insertErpWarehouseEntry(ErpWarehouseEntry erpWarehouseEntry);

    /**
     * 修改入库单
     * 
     * @param erpWarehouseEntry 入库单
     * @return 结果
     */
    public int updateErpWarehouseEntry(ErpWarehouseEntry erpWarehouseEntry);

    /**
     * 删除入库单
     * 
     * @param id 入库单主键
     * @return 结果
     */
    public int deleteErpWarehouseEntryById(Long id);

    /**
     * 批量删除入库单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteErpWarehouseEntryByIds(Long[] ids);
}
